package domain;

public class t_user {
    private Long id;
    private String name;
    private String sex;
    public t_user(long id, String name, String sex) {
        this.id = id;
        this.name = name;
        this.sex = sex;
    }
    @Override
    public String toString() {
        return "t_user{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                '}'+"\n";
    }

    public t_user() {
    }
    public t_user( String name, String sex) {
        this.name = name;
        this.sex = sex;
    }
    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }
}
